home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
AGSTUT2.ZIP
/
AGSTUT2.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-04-16
|
2KB
|
162 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.1O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
String STRING001
String STRING002
Int INT001
Declare Procedure PROC001(Integer INTEGER001)
Declare Procedure PROC002(Integer INTEGER002)
Declare Procedure PROC003()
;------------------------------------------------------------------------------
StartDisp 1
INT001 = 1
:LABEL001
Cls
DispFile PPEPath() + "MENU", 1 + 4
PROC001(INT001)
While (1) Do
STRING001 = Inkey()
If (STRING001 <> "") Then
If (STRING001 == "DOWN") Then
PROC002(INT001)
INT001 = INT001 + 1
If (INT001 == 3) INT001 = 4
If (INT001 == 6) INT001 = 1
PROC001(INT001)
Continue
Endif
If (STRING001 == "UP") Then
PROC002(INT001)
INT001 = INT001 - 1
If (INT001 == 3) INT001 = 2
If (INT001 == 0) INT001 = 5
PROC001(INT001)
Continue
Endif
If (STRING001 == Chr(13)) Then
If (INT001 == 1) Then
Goto LABEL001
Goto LABEL002
Endif
If (INT001 == 2) Then
Goto LABEL001
Goto LABEL002
Endif
If (INT001 == 4) Then
Goto LABEL001
Goto LABEL002
Endif
If (INT001 == 5) Then
Goto LABEL001
Endif
:LABEL002
Continue
Endif
If (STRING001 == Chr(27)) Then
Break
Endif
Endif
EndWhile
End
;------------------------------------------------------------------------------
Procedure PROC001(Integer INTEGER001)
AnsiPos 22, 11 + INTEGER001 - 1
STRING002 = ScrText(22, 11 + INTEGER001 - 1, 36, 1)
Print "@X1F", ScrText(22, 11 + INTEGER001 - 1, 36, 0)
PROC003()
EndProc
;------------------------------------------------------------------------------
Procedure PROC002(Integer INTEGER002)
AnsiPos 22, 11 + INTEGER002 - 1
Print "@X0F", STRING002
PROC003()
EndProc
;------------------------------------------------------------------------------
Procedure PROC003()
AnsiPos 1, 22
Color 0
Print " "
Backup 1
EndProc
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 1 Cls
; 1 Color
; 23 Goto
; 9 Let
; 3 Print
; 14 If
; 1 DispFile
; 1 StartDisp
; 3 AnsiPos
; 1 Backup
; 3 EndProc
;
;
; ■ Functions used :
;
; 7 +
; 5 -
; 12 ==
; 1 <>
; 10 !
; 2 Chr()
; 1 Inkey()
; 1 PPEPath()
; 2 ScrText()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 1 While/EndWhile
; 9 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------